#include"includes.h"

Game game;
SDL_Event event;

int main(int argc, char** argv)
{
	Uint8* keys;
	int done=false;
	if(!game.newWindow("myWin",500,500,32))
	{
		printf("couldnt initialize OpenGL");
		game.killWindow();
		return 1;
	}
	game.display();
	while(!done)
	{
		game.display();
		while(SDL_PollEvent(&event))
		{
			if(event.type==SDL_QUIT)
			{
				done=true;
			}
		}
	}
	return 0;
}
